//
//  XRCommonOnlyTextViewTableCell.m
//  XClassRoom
//
//  Created by NeiQuan on 16/11/11.
//  Copyright © 2016年 Mr-yuwei. All rights reserved.
//

#import "XRCommonOnlyTextViewTableCell.h"

@implementation XRCommonOnlyTextViewTableCell

-(void)addOwnView
{
    _textView=[[UITextPlaceHolderView alloc] init];
    _textView.layer.borderColor=kGrayColor.CGColor;
    _textView.layer.borderWidth=0.3;
    _textView.layer.masksToBounds=YES;
    _textView.layer.cornerRadius=3;
    _textView.placeholder=@"请输入内容";
    [self.contentView addSubview:_textView];
    [_textView  mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView).insets(UIEdgeInsetsMake(10, 10, 10, 10));
    }];
    [self setBackgroundColor:[UIColor colorWithNSString:@"f2f2f2"]];
    
}

@end
